package it.infodea.tapestrydea.services.mail;

import it.infodea.tapestrydea.MailObject;

import java.util.List;

import javax.mail.MessagingException;
import javax.mail.internet.AddressException;

public interface MailSender {

	public void sendMail(MailObject mailObject) throws AddressException, MessagingException;

	public void sendMail(String sender, String to, String cc, String ccn, String subject, String text, List<String> attachments)
			throws AddressException, MessagingException;

}
